Function for downloading users.xml fixed

https://gist.github.com/kchomski/64e72e48f599bd20e5a9