simple promisify for rethinkdb