Remove interpolation in printf format arguments

Fixes "Modification of a read-only value attempted" when a printing a
path containing `%n'.