url unquote the path before checking if it refers to a CGI script (closes #21766)
document IOBase.__del__'s behavior (closes #21764)

Patch from Nikolaus Rath.