Writing to flt-file has been corrected.

Signed-off-by: Yuriy Rusinov <yrusinov@gmail.com>
FLT output is correct.