SERVER-15369: Clean up partially created .ns files

    (cherry picked from commit 243f11cd82d7925c77df0b04fad58b18f70cf031)