Command quoting for paths with spaces on windows

additionally;
updated `get_md5()` and `check_md5()` to also return an error message if failing.