add MyTemporaryFile to avoid QTemporaryFile's bug on Linux