Fix remove default file extension