fix regex match in Config#out for paths with dots in parent dirs, ref #477