move tempfile from task to result definition
add extension to extractor on windows