Fix conversion for utime (ref gh-37).
Add patch for getcwd and utime (ref gh-37).
Apply patch for some directory API functions (ref gh-37).