version 3
handle stdin
fix test: str->bytes
Merge pull request #1 from jessaustin/master

Added python3 support.