resource on chunks passed kwargs

cc @chdoig