[env] Add mkbak function to make backups of individual files