How to use temporary directories and files in tests - pytest documentation