OpenSSL::Test: Fix directory calculations in __cwd()