Fixed a long standing bug related to backup.
Added --prefix, --basename-prefix and -z for --suffix.
Updated documentation.
Ensure directories exist for backup files.