deposit: split upload files and external links

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>