Allowed getFileInfo to accept TFile objects.
Fixed _get_osfhandle declaration.
Added tests for getFileInfo proc.