create unique filenames for uploads, and add orig filename to db