Support passing a directory name to Backup().