btrfs: test fsync after rename and link with cow and nocow writes