Replace usage of "module x from 'y'" syntax, since it may be removed from ES6.