phpseclib/phpseclib — pull request #522 by DavidAnderson684 (2014-12-03 19:29:50+00:00)
Title: Avoid calling fclose(false)

The previous code would always call fclose(false) if the file was not successfully opened - resulting in a PHP notice.