Added missing import

Added missing import 'sys' required by sys.stderr.write() at line 59
Merge pull request #97 from kindkaktus/patch-1

Added missing import