std.stdio: Add file locking functions

Requires:
* https://github.com/D-Programming-Language/druntime/pull/700
* https://github.com/D-Programming-Language/druntime/pull/701