ERT-683 removed the writing to file in /tmp.
Merge pull request #547 from iLoop2/ERT-683

ERT-683 Permission deniend while writing to /tmp