fix Path corruption in 'docker diff'

Fixes #780