add .gitignore
don't crash on occassional epipe errors