fails:File.truncate accepts an object that has a #to_path method
