bacula: several fixes