Updated function for downloading latest release of Owncloud