gio2: support ContentType.guess

SF.net: #187

Reported by neversleep1911. Thanks!!!