feat(gridfsHelpers): check file permissions