[Bug 1018908] POSIX/stdio: ftrylockfile reports success, but has not obtained the lock