replaced outfile with dumpfile so works even if the original statement outputs blob