Simple utility to show the open(2) flags for a file/dir