Fix invalid method in test

Use FileUtils::rm_f to delete the satellite lock file.
Merge pull request #7692 from mr-vinn/fix-spec-rm

Use FileUtils to delete instead of File