Issue 315 - Incorrect buffer deleted on file delete