Corrected legacy strings and reviews

Removed outdated references to backup.
Removed incorrect EOF check for directory listing.
Cleaned tests to avoid interdependency with juju/juju.