Added escape function

Escapes '(', ')', '[', ']' from the file name that is generated by
compgen.
Merge pull request #3 from ngzhian/escape-chars

Added escape function