Try and clear up the intermittent test failures in BEP

They finally bothered me too many times in a day.
* Make the source and target files random so multiple builds can't
  walk on each other.
* Delete apparently useless directory creation code
* Make the ServiceLocator not crash on dispose when the container has
  COM objects that have gone bad.

Change-Id: I734d77802b84079230e4215ff2030a9a79019759