Fix file permissions when copying the MOTD template