Convert URI to file path before moving file.