Fixed converter.py (missing import and usage of viewport argument)

With OSX (Mavericks) and python 2.7 (and shapely module 1.3.1) the converter.py wasn't running, because of a missing import.

Also, the usage of the "viewport" argument led to an error. There's a hotfix included in this pull request, also.