pub fn set_current_dir<S>(path: &S) -> Result<(), Error> where S: AsRef<Path>,
A wrapper around File::create that will give a better error (including the filename)
File::create