Added function to set and get umask