pub fn move_file<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> Result<()>
Rename a file if from and to are in the same filesystem or copy and remove the file otherwise