[Edit] Fix file:// Uri deletion

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>