Fixed problemas with uploaded image files not being always found.