Allow update of existing project document

A misplaced call to file_ensure_uploaded() prevented updating of an existing document's title or description without uploading a new file, as MantisBT would trigger an error.