I've created a pull request for this on the EmulationStation repo -- https://github.com/RetroPie/EmulationStation/pull/630