BamWriter.finish

Flushes buffer and closes output stream. Adds BAM EOF block automatically.

Meta