If a directory that doesn't exist is given as an input data directory, or as a parent directory for a file, a suitable python error should be raised.