Create flag file after successful upload.

Used to make sure only new files are uploaded.