Fix fileChannel not closed, preventing delete to occur correctly (see
#2142) V3.9