Merge pull request #7797 from stenzek/chunkfile ChunkFile: Don't access element zero of empty container