Finished porting the file lib (on Windows, at least).