Fix Rakefile for sample languages with spaces