Cleanup of directory paths and stray files.