Minor refactor of parser code

Breaks apart a few larger methods. No functionality changes.

On top of PR cloudera/RecordBreaker#13