Update swf.rb

File encoding