Set files to sensible permissions.