Removed unneccesary prints, fixed WriteBulkBytes