Fix permissions of redirect-template directories.