Returns whether the file can write in the specified path.
Path to file or directory.
true: can write, false: can not write.