Added stdin support with tempfile.

Added stdin support via the --stdin option.
By default it outputs to stdout unless --output is provided, also ignores all provided filenames.

Closes issue #35.