Added ability to decode embedded files.
Added additional file output checking to ensure that file overwrites are handled correctly.
Merge pull request #4 from jcummins/master

Added embedded file decoding and overwrite checking.