Fix readsize bug in ReadInBlocks().
Remove prefetch from write task when IO is detached.