This should be call ``output_dir``. ``fp`` generally indicates a file path (not a dir path).