Function for writing detection results to file in the bellon format was
implemented.