Use BinaryStateReader and BinaryStateWriter
Merge pull request #32 from dbent/topic/fix_m35fd_persistence

Fix M35FD Persistence