Path token splitting fix

Items like '1.2.3.4.5' were not properly split. The regex replace needs
to be run twice. Test case:

https://google.github.io/material-design-icons/action/svg/ic_settings_24px.svg