fix thumbnailOutput so that setfacl works