Prevent error determining if path or content
Prevent error determining if path or content

Previously the following error was thrown when passing `$data` over the filesystem file name limit:

```
file_exists(): File name is longer than the maximum allowed path length on this platform
```
n054/minify,n054/minify,n054/minify,matthiasmullie/minify,matthiasmullie/minify