modify BinaryFile class for easy write something to a binary file with buffered.
delete buffer_writer.h