(Files) Fix replace + return error if file not found
(Files) Fix replace + return error if file not found

- the `replace` was replacing only first occurence of \
- return 404 instead of the filetree if the path given in parameter is not found

webshell/materia-server,webshell/materia-server,webshell/materia-server,webshell/materia-server