Ignore SIGINT when processing stdin

Fixes #126
Merge pull request #161 from jnordberg/ignore-sigint

Ignore SIGINT when processing stdin