[SPARK-4275]fix for path including space