enable parallel writing of temporary files in BamEntryContainer
add missing return statement