Fix segment fault when lacking of necessary option(rbdname, pool)

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Add new filetype avoiding incorrect filetype behavior

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>