Code review feedback

Rearrange function a bit.
Got it. Probably should have thought that through a bit more. Then perhaps we should have it only accept binary arrays. The way we handle file formats is through nupic.data.file_record_stream so we will need to update that and related code to understand a binary data type in the file format.