Fixing string.translate bugs
https://circleci.com/gh/andresriancho/w3af/784
TypeError: translate() takes exactly one argument (2 given)