Fix Msf::DBManager specs

MSP-8986
Fix TTY interactions with spec

MSP-8986

The spec as written, could not handle when ANSI color escape codes were
injected into the output.
(cherry picked from commit 37e8915)