Fix file name creation.