Rename the file
Future<void> rename(String path, String newName) async => await renameFile(path.replaceSeparator(), newName);