audreyr/binaryornot — pull request #5 by ncoghlan (2013-09-22 14:15:06+00:00)
Title: Read files in binary mode to simplify implementation

- adds null detection special case
- handles empty file edge case
- works entirely in binary mode