ffdc: Add OPENBMC_DUMPS stanza

Set 1: Initial commit.
Set 2: Fix directory structure for /var/lib/phosphor-debug-collector/dumps/
Set 3: Fix directory structure for dumps and hostbootdump

Test:
- Run tests to OPENBMC's with combinations of dump availabilies.
- Run tests to RHEL, Ubuntu, AIX to verify new scp paramaters.
- Regression tests with patch set 2.
- Regression tests with patch set 3.

Signed-off-by: Peter D  Phan <peterp@us.ibm.com>
Change-Id: Idedfa1e4cb4e968c494d82d0e0cc79a213be306f
diff --git a/ffdc/ssh_utility.py b/ffdc/ssh_utility.py
index f1524a7..2110b74 100644
--- a/ffdc/ssh_utility.py
+++ b/ffdc/ssh_utility.py
@@ -95,7 +95,7 @@
         Create a scp connection for file transfer.
         """
         try:
-            self.scpclient = SCPClient(self.sshclient.get_transport())
+            self.scpclient = SCPClient(self.sshclient.get_transport(), sanitize=lambda x: x)
             print("\n\t[Check] %s SCP transport established.\t [OK]" % self.hostname)
         except (SCPException, SocketTimeout, PipeTimeout) as e:
             self.scpclient = None
@@ -117,7 +117,7 @@
         """
 
         try:
-            self.scpclient.get(remote_file, local_file)
+            self.scpclient.get(remote_file, local_file, recursive=True)
         except (SCPException, SocketTimeout, PipeTimeout) as e:
             # Log command with error. Return to caller for next file, if any.
             print("\n>>>>>\tERROR: Fail scp %s from remotehost %s %s\n\n" % (remote_file, e.__class__, e))