Use add range rather than iteration
Merge pull request #898 from 7sharp9/pathextension_useAddRange

Use add range rather than iteration