Fixed "failed to open stream: No such file or directory" error

uploading image/file when $storage dir does not exist throws an error