MFC r179679,179799,179915: Various fixes to the mtree reader:   * Parsing of malformed device specifications   * Be more careful about closing file descriptors   * Handle quoted newlines and C-style escapes
MFC r179679,179799,179915: Various fixes to the mtree reader:
  * Parsing of malformed device specifications
  * Be more careful about closing file descriptors
  * Handle quoted newlines and C-style escapes

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase