Fix unmmapFile on BSD/Mac