Quote cache directory
Add build-app-dir, move tar version to build-app-tar (closes #2)