downloadResources() fixed for MacOSX

Please see issue https://github.com/f3an/root-framework/issues/11