Fix open on Linux