Fix open on Linux.