Don't close() files when opening failed