btrfs: ensure that file descriptor used with subvol ioctls is a dir