fixed handling for small keys.
small adjustments for python 2.7
- Fixed handling for  64bit binary keys.
- Improved handling of big files.
Merge pull request #9 from cgroschupp/master

Changed keyfile handling and added Python 2.7 support