Fix for svg fonts. Fixes #60

This should fix issue #60. Now the file content is also used to determine the file type images and fonts.
Damn. It happend again... This was not intended. Sry for the inconvenience...