windows:File.extname for a filename ending with a dot returns ''
