Tests: Fix rake-0.8 specific errors with Shellwords.