When importing a SQL file convert carriage return (\r) line-endings to line feeds (\n) otherwise all queries in the file may not get executed on some platforms (e.g. Linux)
Merge pull request #765 from slimtim/bug_4153

When importing a SQL file convert \r line-endings to \n