in reply to Re^2: Bad File descriptor Error
in thread Bad File descriptor Error

Strangely I see a "\" is being getting added to filename by "get()"

No, by the server. Note the direction of the arrows. "<<<" means from the server. You need to either specify an absolute path or set the cwd correctly.