updated fix for learn not allowing certains files; weird mechanize parsing error (on pdfs only? something to do with hex values in the response)