Revert "fix(build_library): Create disk image first instead of last."

This reverts commit b97cfe126f0934d1505e352e17f15d580879d3cc.

The minor device numbers of loop partitions are allocated dynamically
which significantly complicates dunning under Docker which uses a static
/dev. Rolling this back until we can rely on /dev being dynamic.