added RestClient.tmpdir config