updated sanitize filename code to use size_t instead of raw number types