Create Memorystream From Bytes Python