See discussion at http://stackoverflow.com/questions/6041383/why-is-file-i-o-in-large-chunks-slower-than-in-small-chunks