rbd: dynamically allocate image header name