Fixed clean filter, now caches files in .git/media/ folder using binary
tempfile.