[vfs] [posix] SMBFile::GetPosition() return correct values on errors
[vfs] [posix] SMBFile::GetLength() return correct values on errors
[vfs] [posix] SMBFile::Write() remove unneeded cast