btrfs-progs: move transaction start/commit out of make_root_dir