Don't hardcode posix paths in nbconvert

use `os.path` for building paths

closes #3534