[backend] Support uploads through new-file.

We will eventually get rid of the HTTP upload system.
[frontend] Support new files (+ uploads)