python hook for hg to not allow doc*, exe and dll filetypes