fix multiple file types issue

Originally, when there are multiple file types presented, ag only takes
the last one as its file type.
But the user want to search all the file types.
e.g. when i type `ag --cpp --cc what_i_want`, ag only searches for c
files.
But the user wants to seach both c and cpp files.

This change fixes this.