Fix unescaped backslash in file and image TV

Fix for #9526: http://tracker.modx.com/issues/9526