Fixes hashing of sparse files & eliminates warnings

Addresses a user report of sparse files not being hashed. Removes `outfile.h` which was never implemented. Minor improvements to option parsing to avoid warnings under new compiler.