fix(core): correctly handle removal of non-existent files

Signed-off-by: Johny Jose <johny@playlyfe.com>
0.0.5