storage.rb: change to use chomp