Parallelized reading and writing

Resolves getlantern/lantern#1593