Fix lowercase/uppercase file ending