When asking if image dimensions match, return false if an IOException occurs when opening the file.