Catching Throwable instead of IOException in an attempt to catch unknown "type mismatch error" on windows8