gsf: Add missing include for setlocale

https://bugzilla.gnome.org/show_bug.cgi?id=725645
GsfInputGio: always make local copy.

gio is buggy and reports the wrong size.
Always make a local copy of data in GsfInputHTTP. [see #724970]