Start porting to Python3
file() has been removed, replace print
Sanitize exceptions, no need for import from future
Import print_function from __future__ to use with python2
Small PEP-8 change
added python 3.3 support