Fix dpkg-statoverride commands, support Ubuntu

As chmod is located in /bin and dpkg-statoverride in /usr/bin, this is not working on all platforms.
Merge pull request #3 from saz/patch-3

Fix dpkg-statoverride commands, support Ubuntu