Openssl decrypt bad magic number