general improvments of smb file handling