use current time to touch output file. Fixes gh-281

nanoTime doesn't returns current time
Merge pull request #282 from edbond/master

use current time to touch output file. Fixes gh-281