fix for saving to file entity
"delete" command now deletes files completely; added "unlink" command for old behaviour (remove only from parent)
better uploading files, closes #18