Save remote document to store after downloading

Fix an error when creating a document via the API with the URL parameter for the file.

When a document's source is specified as an URL it was downloaded but
then never saved to the (file|s3) store.  The import action then would
error out later when it attempted to read the meta data from the
original file.