OCaml 4 deprecation fix for Hack

Bump OCaml requirement to version 4.02.0

- Tmp.temp_dir_name is deprecated in OCaml4, use Filename.get_temp_base_name instead of it.
- String.create is deprecated, use Bytes.create instead.
- String.set is deprecated, use Bytes.set instead.