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