dots in html filename were tripping up extname--fix it