open() cleanup.