Adding proper unicode support for Python 2.7.
PEP-8 modifications following conversion from open to io.open.
Also open the jira fields files using utf8.