Created attachment 92808 [details] file handle check patch Check for an valid file handle before calling delete on it.
Landed in r86072, thanks!