def fetch(self, dir, source, version, params):
        """`fetch` is passed a destination directory as $1, and is given on stdin
        the configured source and a precise version of the resource to fetch.

        `source` is the same value as passed to check.