Aren't we kind of doing string manipulation here? After all, this is sprintf() and building a path.