Fix scripts

1. Use double quotes dealing with directories/filename.
2. doc.sh: Use ./*py to avoid issue with dashes in filename.