Always have at least two I/O threads
Escape user-controlled variables in file listing