ported md5 checksum stuff in postflight.rb to linux