Resolve errors when tags have special characters like '.' and '/'

Resolves issue #11