Use /dev/urandom instead of /dev/zero. Otherwise we won't notice some errors
Use tcpserver and measure the time on the receive end

Otherwise we will not get proper timings for writefile mode
Initial timings