Removed goto uses in SDCardUtil.cpp, instead moving it into a lambda