Fix InputStream leak (never close) and shadowing
Merge pull request #5 from abiquo/input-leak

Fix InputStream leak (never close) and shadowing