add defaults settings and make directory if not exists
fix writing wrong size of marker to wmf file with multi bytes character
file hasn't been closed