fix formatting error that resulted in munged filename