Fix path issue and properly support other extenstions. (Still hoping to
support the html extension. For now just use the .ngt extenstion by itself.)