Fix for llvm revision 216393

After revision 216393 (https://github.com/llvm-mirror/llvm/commit/8c968628473c7de416e3f468fead20023f33107e) function tool_output_file takes error as std::error_code