<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write_fuzzmanagerconf(self, path):
 """ Write fuzzmanager config file for selected build @type path: basestring @param path: A string representation of the fuzzmanager config path """

        output = configparser.RawConfigParser()
        output.add_section('Main')
        output.set('Main', 'platform', self.moz_info['processor'].replace('_', '-'))
        output.set('Main', 'product', 'mozilla-' + self._branch)
        output.set('Main', 'product_version', '%.8s-%.12s' % (self.build_id, self.changeset))
        # make sure 'os' match what FM expects
        os_name = self.moz_info['os'].lower()
        if os_name.startswith('android'):
            output.set('Main', 'os', 'android')
        elif os_name.startswith('lin'):
            output.set('Main', 'os', 'linux')
        elif os_name.startswith('mac'):
            output.set('Main', 'os', 'macosx')
        elif os_name.startswith('win'):
            output.set('Main', 'os', 'windows')
        else:
            output.set('Main', 'os', self.moz_info['os'])
        output.add_section('Metadata')
        output.set('Metadata', 'pathPrefix', self.moz_info['topsrcdir'])
        output.set('Metadata', 'buildFlags', self._flags.build_string().lstrip('-'))

        if self._platform.system == "Windows":
            fm_name = self._target + '.exe.fuzzmanagerconf'
            conf_path = os.path.join(path, 'dist', 'bin', fm_name)
        elif self._platform.system == "Android":
            conf_path = os.path.join(path, 'target.apk.fuzzmanagerconf')
        else:
            fm_name = self._target + '.fuzzmanagerconf'
            conf_path = os.path.join(path, 'dist', 'bin', fm_name)
        with open(conf_path, 'w') as conf_fp:
            output.write(conf_fp)