fixed: SFTP stat didn't set directory/file type causing eg. libdvd to fail on ISOs
Merge pull request #3619 from arnova/sftp_stat_fix

fixed: SFTP stat didn't set directory/file type