added setLength/seek in LocalFileOutputStream