Ensure File.cwd works with utf-8 file names