Adding error checking on fwrite/fflush in deps_log
Adding checks for record overflow in deps_log
Merge pull request #612 from maximuska/proposed/deps_log_write_errors_checking

Proposed/deps log write errors checking