Cherry pick from slbug
Update test/helpers/file_helper.rb