Patches to fix s3n:// filesytem quirks.

PTAL @etorreborre thanks. By the way I tried running the tests and keep getting the following message:
Internal error when running tests: `java.lang.OutOfMemoryError: PermGen space`

This is even after setting the flags: `SBT_OPTS=-Xms2048M -Xmx4096M -XX:MaxPermSize=2048m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled`
Can do please do the change? Create a method `def fileSystemFor(path: Path)(implicit c: Configuration): FileSystem` and use it throughout the `FileSystems` class?