Bug 938683 - Catch and pass the error values of PR_Close() to upper layer. r=johns