fix file extension