fixed the situation where there is only one bam file to be merged - simply rename it.