How safe is this?

  require 'uri'

  module Kernel

    alias_method :require_prefacets, :require
    def require( *args )
      require_esc( *args )
    end

    def require_esc( fpath )
      require_prefacets( File.join( File.dirname( fpath ), URI.escape(
File.basename( fpath ), /\W/ ) ) )
    end

  end

Better way?

Thanks,
T.