BUG Cached images stored in wrong folder

If multiple image manipulations are performend the resulting cached image is stored in assets/_resampled because the cached version of the image has no ParentID, which cacheFilename needs to set the correct path.
Merge pull request #2366 from johannesx75/Cached-Images-Path2

BUG Cached images stored in wrong folder