fixes #6, issues deleting on windows