The resulting file is empty. SIGINT probably isnt called on windows? Why is outputing not done on process.exit? Or streamed during execution?