Complete the windows directory listing fix.
Also, fix casting warnings in vss_strip.c.