Fix failing NSFileHandle test