Oil prices were choppy on Wednesday after a government report showed a large rise in U.S. crude inventories.