Add a test for Static Analyzer checker plugins
Replace fstream use with raw_fd_ostream.