Bugfix for db:migrator about encoding

Bugfix for db:migrator about encoding，check sql file encoding and using InputStreamReader replace FileReader