write bytes to buffer, than to disk..