epedev-340 change file storage location on resource form submit

add a local function to construct the final file storage location, and
assign to file_move function