Changed the delay of the GetFileSize loop for Windows.