Fixed issue #8 where the tags seem to be missing path

This will fix issue #8 where the created tags seem to be missing the path. 

I was not sure if that was supposed to be part of the json formatted string, so I put the tagfile element in the if statement where we tell it to use ctags syntax.