more robust recovery
better error messages if mkdir fails
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2