Remove use of WP_Filesystem on permission check

Resolves #185