NativeIO: add mlock, munlock, mmap functions.

Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>
LockedFileRegistry stuff

Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>