Summary: If data comes from an outer OutputStream, then this outer OutputStream needs to be flushed before getting the byte array. Reviewed By: jvillard Differential Revision: D19514569 fbshipit-source-id: e3e025394