Fix octal/decimal fileMode (chmod)

Regression from 0ca732c0 (2012-01-24). This caused all files rendered
by EasyTimeline to be unaccessible (depending on server configuration).

Props for debugging: Michał Zieliński <michal@zielinscy.org.pl>.

Change-Id: I3751128c909a1ae6d40bd044842185bbaac1a590