gsub '.' to '-dot-' in permalink