Fix for gremlin.sh will take more than 9 params https://github.com/thinkaurelius/titan/issues/510

Fix for the issue https://github.com/thinkaurelius/titan/issues/510, please review this and accept the patch.