I don't see why God being a male or female is to be taken literally. He ain't got the parts, ergo the question doesn't apply.
But yeah, gender can (maybe) transcend biology, as in there are "female" parts to God (care, compassion), and "male" parts (justice). Eckhart (who rocks) put it this way:
God is not only a Father of all good things, as being their First Cause and Creator, but He is also their Mother, since He remains with the creatures which have from Him their being and existence, and maintains them continually in their being. If God did not abide with and in the creatures, they must necessarily have fallen back, so soon as they were created, into the nothingness out of which they were created.