Outputs this as a string.
Note that this function never reports an error.
| this |
a key file |
| length |
return location for the length of the returned string, or `NULL` to ignore |
|
a newly allocated string holding the contents of the key file |