fix processing no-extension files

No process files without extension.