Fixed little error

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