If there is no file to be uploaded, then we must not send the value of
the `photo` file input. Doing so causes two files to be uploaded, the
first one being a zero-byte file with no name, and the second one being
the one we captured from the camera. The server only uses the first
uploaded file if there are multiple, so the correct file is never used.