Fixes a bug with blank lines in emn files.