Added directory ensurance to storages.file_storage put_detector