pub fn set_ext(path: &str, ext: &str) -> Result<String, FileError>
a/b/c.d, e -> a/b/c.e
a/b/c.d, e
a/b/c.e