Update firmware.md

The String.replace() function wrongly states it will return another string, when in fact it returns nothing.