remove shared files on erase

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add remove of files in erase

Signed-off-by: Mattias Andrée <maandree@operamail.com>
make backups in erase

Signed-off-by: Mattias Andrée <maandree@operamail.com>