Fixed execute bit wrongly set on some files