Allow config file parameters to take either string or file-handle values.