Fix Ctrl+D Crashes and Freezes (#296)

Cleaned version of https://github.com/p-e-w/finalterm/pull/306
Yes, that was meant differently. /tmp is indeed already almost everywhere a tmpfs, the comment should explain why the tempfile is deleted (-> replaced with a fifo afterwards)