added tmpdir option
bump version to 0.3.10