shorter version of the fix for 11307, using IOU...
properly close InputStream when loading terrain...
Vassal 3.2 compatible