EEXIST Fix

Fixed preexisting file check.