<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_version_file(self, schema_filename, binding_filename):
 """Given a DataONE schema, generates a file that contains version information about the schema."""

        version_filename = binding_filename + '_version.txt'
        version_path = os.path.join(self.binding_dir, version_filename)
        schema_path = os.path.join(self.schema_dir, schema_filename)
        try:
            tstamp, svnpath, svnrev, version = self.get_version_info_from_svn(
                schema_path
            )
        except TypeError:
            pass
        else:
            self.write_version_file(version_path, tstamp, svnpath, svnrev, version)