Fix read file for tls key/certs