rbd: fix progress reprot when reading from stdin

Signed-off-by: Sage Weil <sage@inktank.com>