Fix fromPath method so it will throw IllegalArgumentException if path is null as documented. svn path=/trunk/; revision=560