Fix file name for database post