Fixed launcher to flush std::cout when copying local resource.

Review: https://reviews.apache.org/r/10054

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1459438 13f79535-47bb-0310-9956-ffa450edef68