FileSP deconstructor wasn't checking pointer validity before delete