Update SFTPv3.js

Similar errors can occur at so many places. Lets make debugging easier by adding a helpful error message.