master
// TODO: take chunk id as integer instead and format with {:05}
// TODO: Expand EncoderCrash to handle io errors as well