Allow use of '.'s in svg filenames

This minor change will allow you to have svg files such as 'foobar.barfoo.svg'.