made .open() parameter parsing more foolproof

No match.