Fix permissions of RubyEncoder on Mac