Wrap SFTP file in io.TextIOWrapper if bytes need to be decoded