Only replace actual vcs/ics extesions, otherwise, we might get into
trouble with usernames containing a dot in the wrong place