Backend: Fix uploads containing escape codes in the filename