Changed the rake task to use rake's own sh command, instead of Kernel.system

sh is probably the more "correct" way to do it in rake.