Fix a bug about file ext. determination