Snow Leopard: Remove temporary files before creating them