Merged to the 1.5 branch by r1042467.
On the trunk, this was actually fixed by Amila in r729037. I'm going to merge this to the 1.5 branch as well.
Also of note, back in v1.4.1, if the necessary directories did not exist, they were created by Utils.createTempFile(String, InputStream, File). In v1.5.2, this automatic directory creation no longer occurs.