Allow specifying a temporary directory for fileio outputs.
This allows us to run these tests on systems that cannot write to the current directory.
Tested on both windows and linux.
Edited by Antonio Sánchez
This allows us to run these tests on systems that cannot write to the current directory.
Tested on both windows and linux.