ensure that thumbnails have correct permission (bug 928242)