handle windows newlines in file upload :)