fixed fetchfile function

on systems with UTF8 as default encoding pem certificates have
been evalutated as non file (-T option only accepts ASCII files)
updated example config files
renamed example config files to *.template
Merge pull request #57 from rad1us/develop

Develop