Added missing import

Added missing import 'sys' needed by sys.stderr.write() at line 59
Merge pull request #98 from kindkaktus/patch-2

Added missing import