Use TempFiles class in tex0/brres import