Fix issue with newlines in url files, close #32