fix: codepage localization if no target cp is set
fix: delete dir (not really working, but at least it doesn't throw an error any more)