Fixed bug that uploaded media items with duplicate filenames