escape slashes in replacement script file