Add encoding to ruby files