Flush and unmount disk image after copy