Transfer uid and gid to volume. Fixes #1737.
Merge pull request #1741 from griff/1737_fix_volume_uid_gid

Transfer uid and gid from image to volume