absolute file path fix for uploads