MOBSDK-599: Input/Output stream retrieval shouldn't return an open stream
Merge pull request #155 from tmughal/master

MOBSDK-599