fixed araqne/issue#406. pass primary storage configs to reader and writer