Use tmpdir for integration tests and fix other filename related things in audio extraction