A filtering program for filtering SOLiD reads directly without converting to fastq was described in http://bioinformatics.oxfordjournals.org/content/26/6/849.short?rss=1 and should have been available at http://hts.rutgers.edu/filter
Unfortunately, that website is closed. Would anyone have a copy of the program?
Well there are many other scripts available that will do the same job. Some of them are even faster than what you are talking about. If I remember it correctly they wrote a perl code. Search for filtering SOLID reads in the forum and you will get many posts about it.