Change NumberFormatException to IOException during parse.