Fixes slug generation for filenames with no "."