Write File to io.Writer