Fix asset mtime calculation