Fix unescaped backslash in file and image TV

Fix for #9526: http://tracker.modx.com/issues/9526
Fix unescaped backslash in file and image TV

Merge remote-tracking branch 'origin/pr/615' into pr/615

* origin/pr/615:
  Fix unescaped backslash in file and image TV