[BUG #8707] use templates to prevent modification of committed files