Use bytes() instead of str()

bytes() is more accurate and is actually correct in Python 3, whereas
str() is incorrect in Python 3, because it's a Unicode string.
Merge pull request #13 from Byron/use_bytes_instead_of_str

Use bytes() instead of str()