tests: print stats asynchronously in fs/bdev write tests

Printing asynchronously is not affected by write() stalls and hence the period
for partial amount can be more or less constant.

Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>