Do not use urlopen but open() and construct absolute path to binary file on import