Open privkey file in binary mode.

Fixes #361.
Merge pull request #362 from tseaver/361-open_privkey_file_in_binary_mode

Open privkey file in binary mode.