Ensure unique filenames for uploaded photos