Sim.use_file: Call #to_s on the argument so it works with a Pathname.