Allow configuring staging_directory.