fix long standing bug that caused produced media files to have their publish_path...