ignore tmp files

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
fix output handling

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>