Fix broken stream processing

pygame closes the stream so it probably makes more sense to just write the image whenever it is acquired than to copy the data in memory as well as then write it out to a file