BSD/Mac-like open command