Add hyphen to friendlyPath regex

Exceptions happen if there's a hyphen in the friendlyPath. This pull request fixes that by changing the friendlyPath substitution to also include hyphens (and replace them with underscores).