buffer stderr in tempfile (or might deadlock bet. stdout and stderr)