Change the File Extension in Typescript (or Javascript)