It looks like in LUA the function lua_pushfstring works the same way that sprintf does in C, so you can construct your path variable before passing it to blit. I.e.
otherString = "and so is this"
lua_pushfstring(newString , "This is my string: %s", otherString)
newString = "This is my string: and so is this"
This is just pseudo code, as I've not used LUA before, just trying to be helpfull :)
