fixed py3 compatibility in npz chunked read