I don't see anything in fs.core to do that, but I'll add something to our utils