Use unpack for old ruby.