Deepseq stderr before closing the handle

Otherwise laziness allows for the handle to be closed withouth receiving the
input. This caused that no error messages were printed when `unixFilter`s
failed.
Set handle encoding as per locale
Merge pull request #162 from uu1101/seq-stderr

Deepseq stderr before closing the handle