Replace non-tracked empty directories by files.