[sanlock] 11/18: python: Use PyBytes converter for resource acquire API