Sanitize thrift file name