Add %f() syntax for frozen strings

cc @github/perf @github/systems