fix Docker wrapper to correctly handle permissions on host FS when host gid/uid is different than the ones of the image