Create a tempdir to retrieve materials instead of messing up current working directory.