Fixed typo and case in IOExceptions.