Fixed openFileForBufferedWriting() methods to vector through openFileForWriting methods which do the detection of .gz/.bz extensions and open up the appropriate compression output streams.
Fixed openFileForBufferedWriting() methods to vector through openFileForWriting methods which do the detection of .gz/.bz extensions and open up the appropriate compression output streams.

alecw/picard,broadinstitute/picard,nh13/picard,alecw/picard,broadinstitute/picard,nh13/picard,broadinstitute/picard,annkupi/picard,alecw/picard,alecw/picard,annkupi/picard,broadinstitute/picard,annkupi/picard,annkupi/picard,broadinstitute/picard,nh13/picard,nh13/picard