Changed bsonfile input stream to output a key/value pair so it can be used to chunk data into ddfs