Fixed error with existing temp path file detection.
Merge pull request #28 from melezov/master

Fixed error with existing temp path file detection.