URL fetching: use an intermediate function rather than a wrapper
Do not get MIME types base on URLs.
Small refactoring.
URL fetching: enforce closing sockets/files with a context manager.
Image loading: only swallow exception related to fetching or decoding.
Fix #84: Mak loading an author stylesheet not fatal.