core.py: Allow absolute file paths

Files with absolute paths are not copied to the build directory