‘The X-Files’ gets female writers and directors in wake of controversy