changed yaml dump method to safe_dump in fixture generating code