#141: use mime.extension if we can