Update file_attachment.rb

fix a bug for non-ascii coded files