Do not pass filename to UltiSnips#AddSnippet.