Add Linux/BSD equivalent of open