don't mangle names containing "proto" substring

replaceAll takes a regex so we should use replace for literal replacement
Merge pull request #20 from OlegYch/patch-1

don't mangle names containing "proto" substring