Add functionality to handle btrfs wipe.

Fixes #488