Bugfix: remove empty line before encoding in tag_spec.rb