Fixed statement that determines the theme name, since inserting a line
break using sed doesn't work on OS X's sed. Using _basename_ is easier
anyway.