Ensure output directory

Double check in the integration test that nothing gets put in the main
directory.