Rework btrfs support