Improved log and error messages for CIFS files.
Fixed typo