Use FileUtils to delete instead of File

File.rm should be FileUtils.rm.  The test fails with an error if the satellite lock file exists.