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