If generating a bin file (second half of conditional), make sure the file is closed (Also fix spelling in comment)
If generating a bin file (second half of conditional), make sure the file is closed
(Also fix spelling in comment)

opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv