Do not depend on console to properly encode to proper tty-friendly chars on windows if the JVM was started without a console.
Implement EmptyFileResource
Always return same instance
Merging with jruby-1_7