json: TRUE&FALSE -> TOK_* so it builds on w32
w32_thread: fix condition::time_wait to match new deadline api
lister::fetch_next (win32): now fills directory_entry::type field
file.h, new file impl and interface; io/stream.h finally removed