fix file extensions