write dummy data to test device transfer rate (e.g. on hard disk or memory using /dev/shm). It uses standard fwrite function of C language.