cummulative code changes from pull #7, without tests or fixtures
handle missing os.tmdir()
setting package version to 0.0.2