Python3.3+ requires byte array instead of str.

In python 3.3+ urllib.request() require POST data as a byte array rather than string.

Docs:
http://docs.python.org/dev/library/urllib.request.html

Fix:
TypeError: POST data should be bytes or an iterable of bytes. It cannot be of type str.