Place temporary rendered file next to destination.
This avoids rename failures due to the files residing on different volumes.
Fail template rendering if destination hash generation fails.
Further clean-up of template Render method.