Fix imread plugin.