add mode parameter to copying templated files

This allows force of mode for templated file copies.  This allows
init files to be 0755, closing #1