Add support for saving to STDOUT
Merge pull request #28 from wei2912/stdout

Add support for saving to STDOUT