s3/libsmb/py: match input argument types with C types