Fix test in util to use qiita config

previously, it assumed the upload dir was /tmp, but this is a setting in
the qiita config file, so it should be honored