module YARP

def self.dump_file(filepath)

Mirror the YARP.dump_file API by using the serialization API.
def self.dump_file(filepath)
  LibRubyParser::YPString.with(filepath) do |string|
    dump_internal(string.source, string.length, filepath)
  end
end