[MODULES-175] Do not use URLs to open resource streams