FileStream options to append/write. Savings header

Header new column for savings. 
Smaller methods and some consts too.
add Percent to msg to be logged
add percentage savings to log message
Merge branch 'philoushka-master'