Add CreateFileMapping check for handles