Replace periods in Argument.slugify()

This not only makes URLs look nicer, but prevents errors when parsing
resource formats in routes.