Please omit the ".png" extension from the temporary filename.