Ensure dist files have correct permissions
Fix scanning for books on Aluratek Color

Fix a regression that broke scanning for books on all devices that used
the Aluratek Color driver. Fixes #1192940 [No longer seeing books on Odys Leon (Aluratek colour)](https://bugs.launchpad.net/calibre/+bug/1192940)
Merge branch 'master' of github.com:kovidgoyal/calibre