Forgot to fix the chmod files array handling.