A Second-Order Finite-Difference Method for Compressible Fluids in Domains with Moving Boundaries