RF: windows smoothing; BF genrsa bug

win32 tests pass except:
- pathological filename (passes on mac, linux) (might not fix)
  might be an effect of string handling to derive new file names
  with other extensions (AES, etc)
- verify
- permissions (umask, os.chmod fail)