Do not use \0 in bin2echo.rb
Add a function for cookie