Update cmd_bamfin.cpp

straightened out the writebuffer calls and stripped the char buf[] b/s, eliminating another possible overflow zone.