Bugfixes:
- Bug in setFileEnum($name)
- Bug when add file with parameter $addToIndex
- Bug with fopen mode
- Bug with the chain and the second argument $output
views: Improvement to a readable XML