Could they be drain flies? I would run some hot water down each drain every night before you go to bed, and then pour in a shot of enzyme drain cleaner.
If they are fruit flies, you just need to clean up any food particles, but I don't know about fruit flies in a bathroom. Sounds kinda not right to me.