Download container functionality

Download a container into a local file (raw image of the NBD disk),
so the local file can be mounted locally using a loop device.