Removed hex encoding
Open file as binary
Reflect non-hex digest + encode for python3
Update tests so there is no implicit conversion between str and byte