phpseclib/phpseclib — pull request #421 by bantu (2014-07-24 09:06:11+00:00)
Title: Only fclose($fp) when $mode & NET_SFTP_LOCAL_FILE.

Fixes #418