[IMP] Improve format path method
[FIX] Format logfile and coveragefile
[IMP] Manage db restoring