make file monitor create recursive dir correctly

Signed-off-by: Hongyi Jia <Hongyi.Jia.GR@dartmouth.edu>