gwinhttpvfs: Fall back to wrapped VFS if creating a HTTP file fails

If we fail to create a GWinhttpFile for a URI (for example, because it’s
an invalid URI or is badly encoded), don’t just return NULL. Instead,
fall back to the wrapped VFS which might be able to handle it instead.

Signed-off-by: Philip Withnall <>

Fixes: #1819
10 jobs for 1819-file-for-uri-null in 19 minutes and 49 seconds (queued for 1 second)