Add tmpPath setter.
Delete tmp file if exception.
Add new test case to test default dot .