Don't call imapsync unless it is installed.
  If CLua::execute() fails log the message in debug builds.
  Log CFile::file_to_pipe arguments in debug builds.

  I think this might be useful.