Fixing partition closeable iterable to reflect Alan's changes to Mango