Try to make backuptool compatible with lego

Signed-off-by: anerik <anerikgames@gmail.com>