Split CHUNKSIZE into WRITE/READ_CHUNKSIZE

See I4e0c563b8f3a5ced8f65fcca83d341a97729a5d4 for a detailed
explanation.

Change-Id: I7d366f324b2699be0be610c1dde1db7fc4045dfd