Bump version to 0.3.
Fix TypeError in setuputils.

The codecs.open function always return bytes object.