Use yaml.safe_dump instead of yaml.dump

After changing to use yaml.safe_load, some of the tests are failing
locally with unicode error. Though we've not noticed these issues
at the gate, it's better to use safe_dump to avoid them.

Change-Id: I84cf921afe76b3bed44e84230a71b244bb886cce
Closes-Bug: #1547399
2 files changed
tree: 5a30cfba44398053f305f7994498f6d79fb8d08f
  1. common/
  2. functional/
  3. scenario/