Bug fix on GetFile method

It wouldnt let you download a non-public file even though you were
logged in and authenticated that the file was yours.
Works now

Also, on indir.c curl.h was included from a wrong directory, it is also
fixed