fix a bug: sv2spark.sh makes garbage file named pattern.txt at working folder.