fix regex match in Config#out for paths with dots in parent dirs, ref #477
Merge pull request #502 from joshrowley/fix-out-regex

Fix Config#out extension regex replace