Fix for #2613

Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char.
Thanks to grytysek for providing the fix.