Fixes for use with Ruby 1.9: writes file name length to zip output stream in bytes instead of character count