This is a fix for an issue that happens in some JVMs (like mine) when combining BufferedOutputStream with FileOutputStream.
Merge pull request #191 from harmjanwestra/master

Fix BedBimFamGenotypeWriter

Then the trityper writer might also be affected.