Minor bugfixes and a bypass for the FileGDB closeDS bug