in reply to Overload "open" function
Your code is probably being run within a Safe sandbox. You're probably stuck I'm afraid.