Use temp file to transfer script result files from worker to navigator (fixes #175)