fixed temp dir path, closes #5