Don't use IOException APIs not in Gingerbread
Merge pull request #247 from square/jwilson/new_ioe

Don't use IOException APIs not in Gingerbread