Re-added change filename/target dir for media db uploads

References #136