Fix batch conversion script to handle uppercase file exts