[client] Preserver 'x' bit across Linux and Windows.