Uploading/Deleting an entry fails.

Uploading and then deleting an competition entry fails
Remove str_replace

All entries in the database have been converted to a relative path. We no longer need to remove the old directory name.