Sanitize paths