allow nbconvert to run from anywhere

there was a getcwd, which prevented nbconvert from being run from elsewhere on the filesystem.