Close config file after reading.

I came across a problem when using config to read temporary config files that are later deleted.  config currently leaves the file open after reading it, preventing the file from later being deleted.