Fix package file modes so that they are installed as-is