Added code to clean up after bulk upload RSpec tests, deleting temporary files
and removing database rows that aren't removed by the normal clean-up routine.