saving post-receive hook - delete logs
replaced unlink with unlinkSync
fixed handleError