Windows 10 Assert failed: getFileSize should be override by platform FileUtils

Just got this error when trying to run my game on Windows 10. It worked the first time and then failed the second. I have added this:

if (ret[0] == '/') {
    ret = ret.substr(1, ret.length() - 1);
}

to line 336 of CCWinRTUtils.cpp. I am currently using v3.9

EDIT: This is how I fixed the problem. https://github.com/cocos2d/cocos2d-x/pull/15097/files