Check if a file is writable.
The path to check.
A promised boolean indicating if the file is writable.
Check if a file is writable.