Update AssetGenerator.php

Protect paths which make exec command fails when paths contains spaces.