Replaced error writing, updated traceback print location upon author\'s request