Copy sql lookup to workdir before running. This slows things down due to the copy, but there is a major win on nfs-mounted sqlite lookups