fix Java1.5 incompatibility

the java.io.IOException(Throwable) constructor was only introduced
in 1.6

Change-Id: Icd40e91cce7a2e89e4a70ad55f31baaa86eebfe2