bugfix in CCIO.read_all and CCIO.read_chunks