(PDB-2590) ssl-setup: preserve file permissions when making changes
(PDB-2590) ssl-setup: preserve file permissions when making changes

Previously the user/group/mode would just be lost in some cases, or
the user and group would be lost, and the mode would be
unconditionally set to 644.

puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb