Fix backup file naming and mutex names.