Use URL extension when watermarking logos

Fixes #13