Don't log errors about invalid file extensions

Fixes #123