Fixed ext/fileinfo conversion mistakes