Fix a bug where a snippet has characters that are not shell safe, and fix error with author/owner parsing