Handle files that have 0 bytes. Fixes #62