Check for if image file is readable at the right place in imageio.c