Implement url_stat method, support for is_writable, is_readable, file_exists functions