temporary filename extension fix