Fixed reading stdin.

Added .DS_Store to .gitignore (some file OS X likes to make everywhere).