Update AssetGenerator.php

Protect shell path to avoid fail when paths contains spaces.