reseting input_stream before second usage

fixes #8
Merge pull request #10 from RaVbaker/fixing_with_bytes_support_for_awt

reseting input_stream before second usage
support for CMYK images opening with external CMYKDemo.jar

fixes #2