Automatically rename file (including image) uploads according to a configurable format