add a gitignore for temp file and default dir