Add the image name to RbdImage and improve the write method
Do not write 0 bytes or negative.

Somehow librbd blocks when length to write is zero