Fixed relative file path for sql magic URI