Update packer.rb to handle STDIN (untested)