pysmbd: Fix pysmbd octal mode handling