Cleaning up repeat media directories.