Convert a non-dot-case string to a dot-case string.