Revert "add access() function to take a role of posix access() in Windows."

This reverts commit 9d17ad499f2e60557b0e797769d9da2cd566e846.