Ignore '.' and '..' in globbing.
Ensure output file is emptied when redirecting.
Since we can set 'cwd' in config.ini, set it to 'hdd:/' for convinience.