convert metadata.rb to UNIX format