Fixing random letters and file lock code for the disk cache
Windows build fix, windows random disk cache initialisation improvement