Fixes NameError in file extension compare